.social-feed-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #f5f5f5;
}

.feed-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.post-card {
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.post-header {
  display: flex;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.user-avatar {
  --size: 40px;
  margin-right: 8px;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 16px;
  font-weight: bold;
}

.post-timestamp {
  font-size: 12px;
  color: #999;
  flex-wrap: wrap;
  text-align: left;
}

.post-body {
  padding: 12px;
}

.post-text {
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.post-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background-color: #000;
}

.video-container {
  position: relative;
  width: 100%;
  margin: 8px 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  border-radius: 8px;
}

/* 移除播放按钮相关样式 */
.video-play-button,
.video-play-button:hover {
  display: none;
}

/* 确保视频控件正常显示 */
video::-webkit-media-controls {
  display: flex !important;
  opacity: 1 !important;
  background-color: rgba(0, 0, 0, 0.3);
}

video::-webkit-media-controls-panel {
  display: flex !important;
  background-color: rgba(0, 0, 0, 0.3);
}

/* 隐藏所有可能的加载文字 */
.video-container::before,
.video-container::after {
  display: none !important;
}

.video-container *::before,
.video-container *::after {
  display: none !important;
}

.loading-text,
.video-container .loading-text {
  display: none !important;
}

/* 隐藏下载按钮 */
video::-webkit-media-controls-download-button {
  display: none;
}

.post-location {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #666;
  margin-top: 8px;
}

.post-actions {
  display: flex;
  justify-content: flex-end;
  padding: 8px 12px;
  border-top: 1px solid #eee;
}

.action-button {
  --text-color: #666;
}

/* Customizations for Ant Design Mobile components */
:root:root {
  --adm-color-primary: #1677ff;
}

.adm-card {
  --padding-horizontal: 0;
  --padding-vertical: 0;
}

.adm-list-item-content {
  padding-left: 12px;
  padding-right: 12px;
}

.adm-list-header {
  padding: 8px 12px;
  font-size: 14px;
  color: #999;
}

.adm-list-item-description {
  font-size: 14px;
}

.media-error {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 2;
}

/* 对话框样式 */
.adm-dialog {
  border-radius: 8px;
}

.adm-dialog-body {
  padding: 20px;
}

.adm-dialog-footer {
  padding: 8px 12px;
}

/* Toast样式 */
.adm-toast-main {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  padding: 12px 20px;
}

.adm-toast-icon {
  font-size: 24px;
}

.adm-toast-content {
  font-size: 14px;
  color: white;
  margin-top: 8px;
} 